package com.sxbbc.common.core.service.impl;

import com.sxbbc.common.core.entity.jz.SysDealData;
import com.sxbbc.common.core.mapper.jz.SysDealDataMapper;
import com.sxbbc.common.core.service.ISysDealDataService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 平台交易数据表 服务实现类
 * </p>
 *
 * @author leehao
 * @since 2019-07-04
 */
@Service
public class SysDealDataServiceImpl extends ServiceImpl<SysDealDataMapper, SysDealData> implements ISysDealDataService {

    @Override
    public BigDecimal getYesterdayUnitTotal(Date now) {
        return baseMapper.getYesterdayUnitTotal(now);
    }
}
